@SET EXCEL_FOLDER=.\excel
 @SET OUTPUT_FOLDER=.\json
 @SET EXE=.\excel2json.exe
 
 @ECHO Converting excel files in folder %EXCEL_FOLDER% ...
 if not exist %OUTPUT_FOLDER% md %OUTPUT_FOLDER%
 
 for /f "delims=" %%i in ('dir /b /a-d /s %EXCEL_FOLDER%\*.xlsx') do (
     @echo   processing %%~nxi
     @CALL %EXE% --excel %EXCEL_FOLDER%\%%~nxi --json %OUTPUT_FOLDER%\%%~ni.json --header  3
 )
:: 上传json
 pscp.exe -pw "Appledev882116" -r "D:\go-project\xrgameserver\json-tool\json\*"  root@hzaicoin.fun:/root/xrgame/cdn/game-json

@echo off
set url="https://api.example.com/data"

:: 直接使用curl,刷新json配置文件
curl %url%
 pause